package com.tonann.app.mapper;

import com.tonann.app.domain.AppSensorRecord;
import com.tonann.app.domain.AppSensorRecordDay;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BaseMapper<T> {
    public int insertBatch(List<T> list);

    List<T> selectPage(@Param("page") int page,@Param("pageSize") int pageSize);

    List<T> selectAppSensorRecordBySensorIds(@Param("ids") List<Long> ids);
}
